import { Card, Table, Button } from 'antd';

export default function InventoryIn() {
  const columns = [
    {
      title: '入库单号',
      dataIndex: 'orderNo',
    },
    {
      title: '商品名称',
      dataIndex: 'productName',
    },
    {
      title: '入库数量',
      dataIndex: 'quantity',
    },
    {
      title: '操作',
      render: () => (
        <Button type="link">详情</Button>
      ),
    },
  ];

  return (
    <div style={{ padding: 24 }}>
      <Card title="入库管理">
        <Button type="primary" style={{ marginBottom: 16 }}>新建入库</Button>
        <Table columns={columns} rowKey="id" />
      </Card>
    </div>
  );
}